package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "订单预支付响应")
public class OrderPrepayResp {
    /**
     * 随机字符串
     */
    @Schema(description = "随机字符串")
    private String nonceStr;
    /**
     * 签名
     */
    @Schema(description = "签名")
    private String paySign;
    /**
     * 时间戳
     */
    @Schema(description = "时间戳")
    private String timeStamp;
    /**
     * 签名算法
     */
    @Schema(description = "签名算法")
    private String signType;
    /**
     * 统一下单接口返回的 prepay_id 参数值
     */
    @Schema(description = "统一下单接口返回的 prepay_id 参数值")
    private String packageStr;
    /**
     * 订单号
     */
    @Schema(description = "订单号")
    private String orderNo;
    /**
     * 订单id
     */
    @Schema(description = "订单id")
    private Long orderId;
}
